package net.minecraft.src;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.src.NBTBase;

public class NBTTagByte extends NBTBase {

   public byte byteValue;


   public NBTTagByte() {
      super();
   }

   public NBTTagByte(byte var1) {
      super();
      this.byteValue = var1;
   }

   void writeTagContents(DataOutput var1) throws IOException {
      var1.writeByte(this.byteValue);
   }

   void readTagContents(DataInput var1) throws IOException {
      this.byteValue = var1.readByte();
   }

   public byte getType() {
      return (byte)1;
   }

   public String toString() {
      return "" + this.byteValue;
   }
}
